package com.scau.wuwei.library_system.core.repository;

import com.scau.wuwei.library_system.core.bean.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;


import java.util.List;

public interface UserInfoRepository extends JpaRepository<UserInfo, Long> {
    List<UserInfo> findByUsername(String username);
    UserInfo findByName(String name);
}
